import request from '@/utils/requestServe';

/**
 * 触发器配置表分页查询接口
 * @param {ids:'',token:''}
 */
export const getByIdCfDateFun = (data) => {
    return request({
        url: '/api-sys/conf/slFunTrig/pageQuery',
        method: 'post',
        data
    })
};

/**
 * 触发器配置表明细查询接口
 * @param {ids:'',token:''}
 */
export const getByIdCfDetailed = (data) => {
    return request({
        url: '/api-sys/conf/slFunTrig/getById',
        method: 'post',
        data
    })
};


/**
 * 触发器新增保存接口
 * @param {ids:'',token:''}
 */
export const getNewSaveFun = (data) => {
    return request({
        url: '/api-sys/conf/slFunTrig/saveOrUpdate',
        method: 'post',
        data
    })
};


/**
 * 触发器删除接口
 * @param {ids:'',token:''}
 */
export const getDelete = (data) => {
    return request({
        url: '/api-sys/conf/slFunTrig/deleteByIds',
        method: 'post',
        data
    })
};

/**
 * 触发器修改接口
 * @param {ids:'',token:''}
 */
export const getUpdateFun = (data) => {
    return request({
        url: '/api-sys/conf/slFunTrig/update',
        method: 'post',
        data
    })
};


